//
//  KRColumnView.h
//  cookBook
//
//  Created by kuroken on 16/1/13.
//  Copyright © 2016年 kuroken. All rights reserved.
//

/** 栏目类型 */
typedef enum {
    KRColumnTypeAlbum = 0,
    KRColumnTypeRead = 1
} KRColumnType;

#import <UIKit/UIKit.h>
@class KRColumnView;

extern NSUInteger const KRColumnViewHeight;

@protocol KRColumnViewDelegate <NSObject>

@optional
- (void)columnView:(KRColumnView *)columnView columnType:(KRColumnType)type;

@end

@interface KRColumnView : UIView

/** 设置栏目标题 */
- (void)setTitle:(NSString *)columnTitle;
/** 设置栏目类型 */
- (void)setColumnType:(KRColumnType)type;

@property (nonatomic, weak) id<KRColumnViewDelegate> delegate;

@end
